﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;


namespace ThesisSystem.ViewModels
{
    public class TargetsSearchView
    {
        
        [Key]
        public int TargetID { get; set; }

        [DisplayName("评卷名")]
        public string title { get; set; }

        [DisplayName("所属类另")]
        public string TypeName { get; set; }

        [DisplayName("描述")]
        public string Description { get; set; }


        [DisplayName("指标概括")]
        [StringLength(100)]
        [Required(ErrorMessage = "*")]
        public string Summary { get; set; }

        [DisplayName("学科")]
        public string MarkType { get; set; }

        [DisplayName("权重")]
        public int Weight { get; set; }

        [DisplayName("指标内容")]
        [StringLength(500)]
        [Required]
        public string Content { get; set; }

        public int Target_TargetID { get; set; }
        public int Marking_MarkingID { get; set; }


    }
}